package com.msb.apidiver.service;

import com.msb.apidiver.remote.ServiceDriverUserClient;
import com.msb.internalcommon.dto.DriverUser;
import com.msb.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: WuWen
 * @Date: 2023/8/23 - 08 - 23 - 21:45
 * @Description: com.msb.apidiver.service
 * @version: 1.0
 */
@Service
public class UserService {

    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult updateDriverUser(DriverUser driverUser){

        serviceDriverUserClient.updateUser(driverUser);

        return ResponseResult.success();
    }
}
